package com.lyf.scm.plan.api.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * description:
 *
 * @author: haodong
 * @data: 2020/8/29 17:00
 */
@Data
public class DirectlyStoreQueryDTO{
    @ApiModelProperty("主键id")
    private Long id;

    @ApiModelProperty("确认量")
    private BigDecimal confirmQty;

    @ApiModelProperty("中品类集合")
    private List<String> secCategoryCodes;

    @ApiModelProperty("标签集合")
    private List<Integer> tags;

    @ApiModelProperty("商品sku")
    private String skuCode;

    @NotNull(message = "门店编码不能为空")
    @ApiModelProperty("门店code")
    private String storeCode;

    @ApiModelProperty("商品分层")
    private String layeredCode;

    @NotNull(message = "查询日期不能为空")
    @ApiModelProperty("查询日期")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date formulateDate;

    @ApiModelProperty("状态(0-待提交10-已暂存20-已提交30-已取消)")
    private Integer status;

    @ApiModelProperty("页码")
    private Integer pageNum;

    @ApiModelProperty("每页条数")
    private Integer pageSize;

    @ApiModelProperty("提交时间")
    private Date submitTime;

    @ApiModelProperty("对象集合")
    private List<DirectlyStoreQueryDTO> directlyStoreQueryDTOS;
}
